// import { PORT1 } from "@/api/config/servicePort";
// import http from "@/api";
import knowledgeTree from "@/assets/json/knowledgeTree.json";
import knowlegeeContent from "@/assets/json/knowledgeContent.json";
/**
 * @name 用户管理模块
 */
// 获取知识树
export const getKnowledgeTree = (params: any) => {
  //return http.get<any>(PORT1 + `/knowledgeTree/list?type=`, params.type);
  console.log(params);
  return knowledgeTree;
};
// 获取知识内容
export const getKnowledgeContent = (params: any) => {
  //return http.get<any>(PORT1 + `/knowledgeTree/list?type=`, params.type);
  console.log(params);
  return knowlegeeContent;
};
